package com.cat.dao;

import com.cat.model.Member;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
public interface MemberMapper {
    int insert(Member record);

    int insertSelective(Member record);

    int insertInBatch(List<Member> records);

    int deleteById(Integer id);

    int deleteByObject(Member record);

    int deleteByIds(List<Integer> ids);

    int deleteAll();

    int updateById(Member record);

    int updateByIdSelective(Member record);

    Member selectOneById(Integer id);

    Member selectOneByObject(Member record);

    List<Member> selectByObject(Member record);

    List<Member> selectAll();

    long count(Member record);

    long countAll();
}